// @ts-ignore
import { getRouterData } from '@src/utils/router';
import getMicroPublicUrl from "../../getMicroPublicUrlPrefix"; // eslint-disable-next-line

__webpack_public_path__ = getMicroPublicUrl({
  moduleName: process.env.PACKAGE_NAME
});

getRouterData._load = function () {
  var cpaasJsonpPackagesName = "cpaasJsonp_packages/".concat(process.env.PACKAGE_NAME, "-main");

  if (window[cpaasJsonpPackagesName]) {
    window[cpaasJsonpPackagesName]({
      getRouterData: getRouterData
    });
  }
};

getRouterData._load();

export { getRouterData };
